/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved.
 *
 */
import { RequiredNamed } from '../options.js';

export namespace AppStartupOptions {
  export interface AppStartupOpt extends RequiredNamed {
    startupTasks: StartupTaskObj[];
    configEntry: string;
  }

  export interface StartupTaskObj extends RequiredNamed {
    name: string;
    srcEntry: string;
    dependencies: string[];
    excludeFromAutoStart: boolean;
    runOnThread: string;
    waitOnMainThread: boolean;
    codeLanguage?: string;
  }
}
